package inventoryServe.po;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;


/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2021-06-22
 */
 public class StoreManage extends Store implements Serializable {

    // 主键
    Integer id;
    //  用户 id
    private User user;
    //  产品
    private Product product;
    //供应商
    private Supplier supplier;

    private Integer num;

   // 状态 0 是入库 1 是出库
    private Integer isIn;
    /**
      验证状态
     0 未验证的 订单 即提交的订单
     1 验证通过的订单
     2 审核为通过的订单 可以入库
   */
    private Integer isCheck;
   //创建时间
    private Date createTime;
   // 修改时间
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getIsIn() {
        return isIn;
    }

    public void setIsIn(Integer isIn) {
        this.isIn = isIn;
    }

    public Integer getIsCheck() {
        return isCheck;
    }

    public void setIsCheck(Integer isCheck) {
        this.isCheck = isCheck;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "StoreManage{" +
                "id=" + id +
                ", user=" + user +
                ", product=" + product +
                ", supplier=" + supplier +
                ", num=" + num +
                ", isIn=" + isIn +
                ", isCheck=" + isCheck +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
